package com.ebring.shareEducation.service;

import com.ebring.shareEducation.bean.User;
import com.ebring.shareEducation.bean.UserVIP;
import com.ebring.shareEducation.utils.RspMsg;

public interface UserVIPService {
    //充值VIP
    int chargeVIP(String userId, String money, String vipLevel);

    //查询用户VIP状态
    RspMsg<UserVIP> selectUserVipStatus(String userId);

    /**
     * 找老师
     *
     * @param skillsName
     * @return
     */
    RspMsg<User> selectTeacher(String skillsName);

    /**
     * 会员升级
     * @param userId 用户ID
     * @return
     */
    int upLevelVIP(String userId);

    /**
     * 积分换会员
     * @param userId
     * @param money
     * @param vipLevel
     * @return
     */
    RspMsg<User> ScorechargeVIP(String userId, String money, String vipLevel);
}
